#!/usr/bin/env python3
#-*- coding:utf8 -*-
# Power by 2020-06-11 22:35:34

import os 
import random
import paddle
import paddle.fluid as fluid
from paddle.fluid.dygraph.nn import Conv2D,Pool2D,Linear
import numpy as np
import matplotlib.pyplot as plt
from PIL import Image
import gzip
import json

def sigmoid(x):
    """TODO: Docstring for sigmoid.

    :x: TODO
    :returns: TODO

    """
    return 1. / (1. + np.exp(-x)) 
x=np.arange(-8,8,0.2)
y=sigmoid(x)
plt.plot(x,y)
plt.show()


